package cn.wzptsoft.mall.pojo.vo;

import cn.wzptsoft.mall.pojo.PosterItem;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class PosterItemVo {
    private Integer id;
    private String img;
    private Integer posterId;
    private Integer spuId;

    public PosterItemVo(PosterItem posterItem){
        this.id=posterItem.getId();
        this.img=posterItem.getImg();
        this.posterId=posterItem.getPosterId();
        this.spuId=posterItem.getSpuId();
    }






}
